package com.project.web.system.service.app;

import com.project.web.system.model.app.AdminRole;
import com.project.web.system.service.common.BaseService;

import java.util.List;

public interface AdminRoleService extends BaseService<AdminRole, Long> {

    /**
     * 根据用户ID删除用户角色信息
     *
     * @param id
     */
    void deteleByAdminId(Long id);

    /**
     * 批量给用户添加角色
     *
     * @param adminRoles
     */
    void batchSave(List<AdminRole> adminRoles);


}
